const AllTranslation_CH = {
  invalid_weapon_bullet_defense: '无效的武器、子弹或护甲等级',
  no_login_no_save: '你没有登录，不会储存你的数据',
  save_failed_retry: '保存失败，一秒后重试',
  load_failed_retry: '加载失败，一秒后重试',
  load_success: '加载数据成功',
  create_success: '创建数据成功',
  no_login_no_load: '你没有登录，无法加载你的数据',
  not_evacuated_lost: '您未撤离就离开游戏，上场物资已全部丢失',
  error_input: '输入错误，请重新输入',
  set_scope: '已将开镜倍数设置为{{value}}',
  set_shoot_mode: '已将射击模式设置为{{value}}',
  set_shoot_option: '已将射击模式设置为{{value}}',
  set_auto_reload_on: '已将自动换弹设置为开启',
  set_auto_reload_off: '已将自动换弹设置为关闭',
  bullet_level_deprecated: '该功能已弃用，请直接选择子弹使用',
  save_success: '数据保存成功',
  warehouse_title: '仓库',
  warehouse_content:
    '请从您的仓库中选择需要放入商场物资的装备或要使用的背包和弹挂',
  use_bag: '已使用背包: {{value}}',
  use_dg: '已使用弹挂: {{value}}',
  put_in_field: '已将{{number}}件{{value}}放入上场物资',
  field_title: '上场物资',
  field_content: '请从您的上场物资中选择需要放入背包的装备',
  put_in_bag: '已将{{number}}件{{value}}放入背包',
  enter_darkzone: '当前是装备整理阶段，您可以事先穿戴装备，准备好后再进入暗区',
  equip_invalid: '您使用的武器已经失效或无法穿戴，请重新选择',
  wear_armor: '已穿戴护甲: {{value}}, 防御力 +{{df}}',
  wear_helmet: '已穿戴头盔: {{value}}, 防御力 +{{df}}',
  put_in_safe: '已将{{number}}件{{value}}放入安全箱',
  safe_title: '安全箱',
  safe_content: '请选择你要取出的物资',
  put_in_field_from_safe: '已将{{number}}件{{value}}放入上场物资',
  dead: '你已死亡',
  respawn: '你已复活',
  control_panel_title: '{{name}}的控制面板',
  control_panel_content: `
      用户名: {{name}},
      UserID: {{userId}},
      仓库信息: {{bagSize}} / {{bagCapacity}},
      上场物资: {{fieldSize}} / {{fieldCapacity}},
      金钱: {{money}},
      使用背包: {{useBags}},
      使用弹挂: {{useDG}},
  `,
  settings_title: '设置',
  settings_content: '请选择你要设置的选项',
  scope_title: '开镜倍数',
  scope_content: '请选择你要设置的开镜倍数',
  shoot_mode_title: '射击模式',
  shoot_mode_content: '请选择你要设置的射击模式',
  shoot_option_title: '射击选项',
  shoot_option_content: '你希望子弹沿什么方向发射',
  auto_reload_title: '自动换弹',
  auto_reload_content: '请选择你要设置的自动换弹选项',
  bullet_level_title: '子弹等级',
  bullet_level_content: '请选择你要设置的子弹等级',
  warehouse_input_title: '仓库',
  warehouse_input_content: '请输入你要放的数量(你有{{count}}件{{value}})',
  field_input_title: '上场物资',
  field_input_content: '请输入你要放的数量(你有{{count}}件{{value}})',
  safe_input_title: '安全箱',
  safe_input_content: '请输入你要取出的数量(你有{{count}}件{{value}})',
  player_enter_darkzone: '玩家{{name}}已进入暗区',
  language_set: '设置语言为{{value}}',
  language_content: '选择你偏好的语言 / Select your preferred language',
  bullet_cooling: '子弹正在换弹，请等待: {{value}}秒',
  cannot_use_bullet: '您使用的武器无法更换子弹',
  save_data: '保存数据',
  goto_darkzone: '进入暗区',
  langue_set: '语言设置',
  bullet_level: '子弹等级',
  Automatic_reload: '自动换弹',
  Magnification: '开镜倍数',
  shoot_mode: '射击模式',
  shoot_options: '射击选项',
  single_shot: '单发',
  running_fire: '连发',
  sight_bead: '准星',
  on: '开启',
  off: '关闭',
  put_into_safe: '放入安全箱',
  wearItem: '穿戴装备',
  use_item: '使用装备',
};

const AllTranslation_EN = {
  invalid_weapon_bullet_defense: 'Invalid weapon, bullet, or armor level',
  no_login_no_save: 'You are not logged in and your data will not be saved',
  save_failed_retry: 'Save failed, retrying in one second',
  load_failed_retry: 'Load failed, retrying in one second',
  load_success: 'Data loaded successfully',
  create_success: 'Data created successfully',
  no_login_no_load: 'You are not logged in and cannot load your data',
  not_evacuated_lost:
    'You left the game without evacuating, all field supplies have been lost',
  error_input: 'Input error, please re-enter',
  set_scope: 'Scope magnification set to {{value}}',
  set_shoot_mode: 'Shooting mode set to {{value}}',
  set_shoot_option: 'Shooting option set to {{value}}',
  set_auto_reload_on: 'Auto-reload set to on',
  set_auto_reload_off: 'Auto-reload set to off',
  bullet_level_deprecated:
    'This feature is deprecated, please select bullet usage directly',
  save_success: 'Data saved successfully',
  warehouse_title: 'Warehouse',
  warehouse_content:
    'Please select the equipment or bags and bullet loops you want to use from your warehouse',
  use_bag: 'Used bag: {{value}}',
  use_dg: 'Used bullet loop: {{value}}',
  put_in_field: 'Put {{number}} {{value}} into field supplies',
  field_title: 'Field Supplies',
  field_content:
    'Please select the equipment you want to put into your bag from your field supplies',
  put_in_bag: 'Put {{number}} {{value}} into bag',
  enter_darkzone:
    'Currently in equipment sorting phase, you can wear equipment in advance, and enter the dark zone when ready',
  equip_invalid:
    'The weapon you are using is invalid or cannot be worn, please re-select',
  wear_armor: 'Worn armor: {{value}}, Defense +{{df}}',
  wear_helmet: 'Worn helmet: {{value}}, Defense +{{df}}',
  put_in_safe: 'Put {{number}} {{value}} into safe',
  safe_title: 'Safe',
  safe_content: 'Please select the supplies you want to take out',
  put_in_field_from_safe: 'Put {{number}} {{value}} into field supplies',
  dead: 'You are dead',
  respawn: 'You have respawned',
  control_panel_title: "{{name}}'s Control Panel",
  control_panel_content: `
      Username: {{name}},
      UserID: {{userId}},
      Warehouse Info: {{bagSize}} / {{bagCapacity}},
      Field Supplies: {{fieldSize}} / {{fieldCapacity}},
      Money: {{money}},
      Used Bag: {{useBags}},
      Used Bullet Loop: {{useDG}},
  `,
  settings_title: 'Settings',
  settings_content: 'Please select the options you want to set',
  scope_title: 'Scope Magnification',
  scope_content: 'Please select the scope magnification you want to set',
  shoot_mode_title: 'Shooting Mode',
  shoot_mode_content: 'Please select the shooting mode you want to set',
  shoot_option_title: 'Shooting Option',
  shoot_option_content: 'What direction do you want the bullets to fire?',
  auto_reload_title: 'Auto Reload',
  auto_reload_content: 'Please select the auto-reload option you want to set',
  bullet_level_title: 'Bullet Level',
  bullet_level_content: 'Please select the bullet level you want to set',
  warehouse_input_title: 'Warehouse',
  warehouse_input_content:
    'Please enter the quantity you want to put in (You have {{count}} {{value}})',
  field_input_title: 'Field Supplies',
  field_input_content:
    'Please enter the quantity you want to put in (You have {{count}} {{value}})',
  safe_input_title: 'Safe',
  safe_input_content:
    'Please enter the quantity you want to take out (You have {{count}} {{value}})',
  player_enter_darkzone: 'Player {{name}} has entered the dark zone',
  language_set: 'Language set to {{value}}',
  language_content: 'Select your preferred language / 选择你偏好的语言',
  bullet_cooling: 'Bullet is reloading, please wait: {{value}} seconds',
  cannot_use_bullet: 'The weapon you are using cannot be reloaded',
  save_data: 'save your data',
  goto_darkzone: 'Entering the Dark Zone',
  langue_set: 'Set langue',
  bullet_level: 'Set bullet level',
  Automatic_reload: 'Automatic reload',
  Magnification: 'Magnification',
  shoot_mode: 'set shoot mode',
  shoot_options: 'some shoot options',
  single_shot: 'single shot',
  runnin_fire: 'running fire',
  sight_bead: 'sight bead',
  on: 'on',
  off: 'off',
  put_into_safe: 'Put in safe',
  wearItem: 'Wearables',
  use_item: 'use item',
};

export class getTranslation {
  static get(translation: 'en' | 'ch') {
    if (translation === 'ch') {
      return AllTranslation_CH;
    } else if (translation === 'en') {
      return AllTranslation_EN;
    }
  }
}
